/**
 * 
 */
package org.t2.game.server.module.mail.api;

import org.gaming.prefab.thing.longn.LRewardThing;

/**
 * @author YY
 *
 */
public class RewardThing implements LRewardThing {
	private int id;
	private long num;

	public static RewardThing of(int id, long num) {
		RewardThing thing = new RewardThing();
		thing.id = id;
		thing.num = num;
		return thing;
	}

	@Override
	public int getThingId() {
		return id;
	}

	@Override
	public long getNumber() {
		return num;
	}
}
